package com.lw.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.lw.smartdevice.dto.UserDto;
import com.lw.smartdevice.pojo.SysUserInfo;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2022/3/14 17:25
 */
public interface SysUserInfoService {

    SysUserInfo login(UserDto userDto);

    SysUserInfo findById(Long userId);

    PageInfo<SysUserInfo> findAll(int pageNum, int pageSize);

    void addUser(SysUserInfo sysUserInfo);
}
